/**      
 * @file		enumerations.cpp
 * @description		Demonstrates the use of enumerations.
 *			Remember this are user defined types
 *			C++ does know how to output user defined
 *			types unless we explain it. More on this
 *			later...
 * @course		CSCI 123 Section 00000
 * @assignment		Sample 16
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
using namespace std;

/**
 * @return zero if the application executes successfully
 */
int main() {
	enum Speed	{ FAST, NORMAL, SLOW };
	enum Freeway 	{ NINETY_ONE = 91, FOUR_O_FIVE = 405, 
				   ONE_O_ONE = 101, TWENTY_TWO = 22 };

	Speed speed = FAST;
	Freeway freeway = NINETY_ONE;
	
	/************************************************************************/
	/* What does this do?                                                                     */
	/************************************************************************/
	cout << "Please tell me what freeway you're driving on?\n";
//	cin >> freeway;	// doesn't work because this is a user defined type
	cout << "You're driving on the " << freeway << endl;
//	cin >> speed;
	cout << "You're traveling " << speed << endl;
	return 0;
}
